/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Patrick;

/**
 *
 * @author Wallyson
 */
import java.util.Scanner;
public class Exercicio62 {
        public static void main (String [] args){
        
        Scanner s = new Scanner(System.in);     

   
        System.out.println("Digite a quantidade de linhas:");
        int linhas = new Scanner(System.in).nextInt();
        for (int cont = 1; cont <= linhas; cont++){
            {
                System.out.println();
            }
            for (int numero = 01; numero <= cont; numero++){
                if(cont < 10)
                    System.out.print("0"+cont+" ");
                else
                    System.out.print(cont+" ");
            }
 
        }
 
    }
 
}

